package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipBenchmark;
import cc.comac.mom.bean.EquipBenchmarkBean;
import cc.comac.mom.bean.EquipBenchmarkSelectBean;
import cc.comac.mom.bean.ResultDev;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipBenchmarkService {
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipBenchmarkBean obj);
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/update",method = RequestMethod.POST)
	ResultBean update(@RequestBody EquipBenchmark obj);
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/disableEquipBenchmark",method = RequestMethod.POST)
	ResultBean disableEquipBenchmark(@RequestBody EquipBenchmarkBean obj);
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/deleteBatch",method = RequestMethod.POST)
	ResultBean deleteBatch(@RequestBody EquipBenchmarkBean obj);
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/getById",method = RequestMethod.POST)
	EquipBenchmark getById(@RequestBody EquipBenchmark obj);
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/selectByFields",method = RequestMethod.POST)
	ResultDev selectByFields(@RequestBody EquipBenchmarkSelectBean obj);
	@RequestMapping(value = "/p/cs/EquipBenchmarkService/selectByCondition",method = RequestMethod.POST)
	EquipBenchmarkBean selectByCondition(@RequestBody EquipBenchmark obj);
	
	
}
